﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucPaging.ascx.cs" Inherits="PromotionApp.UserControl.ucPaging" %>
div style="float: left;">
    <div class="pageLeft">
        Page Size :
        <asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
            <asp:ListItem Value="10" Text="10"></asp:ListItem>
            <asp:ListItem Value="15" Text="15"></asp:ListItem>
            <asp:ListItem Value="20" Text="20"></asp:ListItem>
        </asp:DropDownList>
    </div>
    <div class="pageRight">
        <div class="paging">
            
            <asp:ImageButton ID="btnFirst" runat="server" ImageUrl="~/_layouts/PromotionApp.Backend/Image/arrowBack.png" ToolTip="First"
                OnClick="btnFirst_Click" />
            &nbsp;
            <asp:ImageButton ID="btnPrevious" runat="server" ImageUrl="~/_layouts/PromotionApp.Backend/Image/PgPrev.gif" ToolTip="Previous"
                OnClick="btnPrevious_Click" />
            &nbsp; Page No.
            <asp:TextBox ID="txtPageNumber" runat="server" Width="50px" Style="text-align: right;
                font-size: 12px;"></asp:TextBox>
            &nbsp;
            <asp:Button ID="btnSumitPaging" runat="server" class="btnOK" OnClick="btnSumitPaging_Click" />
            &nbsp;
            <asp:ImageButton ID="btnNext" runat="server" ImageUrl="~/_layouts/PromotionApp.Backend/Image/PgNext.gif" ToolTip="Next"
                OnClick="btnNext_Click" />
            &nbsp;
            <asp:ImageButton ID="btnLast" runat="server" ImageUrl="~/_layouts/PromotionApp.Backend/Image/PgLast.gif" ToolTip="Last"
                OnClick="btnLast_Click" />
        </div>
        <div class="pageResult">
            <span class="text">Search Result</span> <span class="number">
                <asp:Label ID="lblSearchResult" runat="server" Text=""></asp:Label></span> <span
                    class="text">Item(s)</span>
        </div>
    </div>
</div>
